<template>
	<view>
		<view class="full" @click="closeFull"></view>
		
		<view class="confirm">
			<view class="title ac">开始工作</view>
			<view class="content">是否确认开始工作</view>
			<view class="btn">
				<button @click="closeFull">取消</button><button @click="jumpUrl('/pages/myWork/jobRecord')">确认</button>
			</view>
		</view>
	</view>
</template>

<script>
export default{
	props : ['code','id'],
	methods:{
		closeFull() {
			this.$emit('closeFull');
		},
		jumpUrl(url) {
			this.closeFull();
			uni.navigateTo({
			    url: url+'?code='+this.code+'&id='+this.id
			});
		}
	}
}
</script>

<style>
</style>
